package com.cainiao.pojo;

import java.util.Date;

/**
 * 
 * Documents
 * 数据库表：documents
 */
public class Documents {

    /**
     * 
     * 表字段 : documents.id
     */
    private Integer id;

    /**
     * 
     * 表字段 : documents.title
     */
    private String title;

    /**
     * 
     * 表字段 : documents.date_added
     */
    private Date dateAdded;

    /**
     * 
     * 表字段 : documents.author_id
     */
    private Integer authorId;

    /**
     * 
     * 表字段 : documents.group_id
     */
    private Integer groupId;

    /**
     * 
     * 表字段 : documents.content
     */
    private String content;

    /**
     * 获取  字段:documents.id
     *
     * @return documents.id, 
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置  字段:documents.id
     *
     * @param id the value for documents.id, 
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取  字段:documents.title
     *
     * @return documents.title, 
     */
    public String getTitle() {
        return title;
    }

    /**
     * 设置  字段:documents.title
     *
     * @param title the value for documents.title, 
     */
    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    /**
     * 获取  字段:documents.date_added
     *
     * @return documents.date_added, 
     */
    public Date getDateAdded() {
        return dateAdded;
    }

    /**
     * 设置  字段:documents.date_added
     *
     * @param dateAdded the value for documents.date_added, 
     */
    public void setDateAdded(Date dateAdded) {
        this.dateAdded = dateAdded;
    }

    /**
     * 获取  字段:documents.author_id
     *
     * @return documents.author_id, 
     */
    public Integer getAuthorId() {
        return authorId;
    }

    /**
     * 设置  字段:documents.author_id
     *
     * @param authorId the value for documents.author_id, 
     */
    public void setAuthorId(Integer authorId) {
        this.authorId = authorId;
    }

    /**
     * 获取  字段:documents.group_id
     *
     * @return documents.group_id, 
     */
    public Integer getGroupId() {
        return groupId;
    }

    /**
     * 设置  字段:documents.group_id
     *
     * @param groupId the value for documents.group_id, 
     */
    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    /**
     * 获取  字段:documents.content
     *
     * @return documents.content, 
     */
    public String getContent() {
        return content;
    }

    /**
     * 设置  字段:documents.content
     *
     * @param content the value for documents.content, 
     */
    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}